import {createRouter, createWebHistory} from 'vue-router'

const routes = [
    {
        path: '/',
        name: 'index',
        component: () => import('@/views/index'),
    }
]
/*{
    path: '/404',
        component: () => import('@/views/error-page/404'),
    hidden: true
},
{
    path: '/401',
        component: () => import('@/views/error-page/401'),
    hidden: true
}*/
const router = createRouter({
    history: createWebHistory(),
    routes: routes
})

export default router
